str1 = '黄剑nb'
get_byte = str1.encode(encoding='utf-8')
print(get_byte)
print(get_byte.decode(encoding='utf-8'))
